﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="SWEN_HMS.UserModule.Change_Password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style2
        {
            width: 100%;
        }
        .auto-style3
        {
            width: 60px;
        }
        .auto-style4
        {
        }
        .auto-style5
        {
            width: 162px;
            font-size: small;
            text-align: right;
        }
        .auto-style6
        {
            width: 260px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content5" runat="server" contentplaceholderid="pageTitlePHolder">
    <span class="auto-style1" style="color: #000000">Change Password Page</span>
</asp:Content>
<asp:Content ID="Content6" runat="server" contentplaceholderid="ContentPlaceHolder1">
        <asp:Panel ID="Panel1" runat="server" CssClass="newStyle1">
            <br />
            <table class="auto-style2">
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style4" colspan="2">
                        <asp:Label ID="lblmessage" runat="server" ForeColor="Red"></asp:Label>
                        <asp:ScriptManager ID="ScriptManager1" runat="server">
                        </asp:ScriptManager>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style4" colspan="2" style="border-bottom-style: dashed; border-bottom-width: thin; border-bottom-color: #000000">Change Your Password</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style5">Old Password:</td>
                    <td class="auto-style6">
                        <asp:TextBox ID="tbxPw" runat="server" TextMode="Password"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style5">New Password:</td>
                    <td class="auto-style6">
                        <asp:TextBox ID="tbxNPW" runat="server" TextMode="Password"></asp:TextBox>
                        <ajaxToolkit:PasswordStrength ID="tbxNPW_PasswordStrength" runat="server" Enabled="True" PreferredPasswordLength="12" TargetControlID="tbxNPW">
                        </ajaxToolkit:PasswordStrength>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style5">Confirm New Password:</td>
                    <td class="auto-style6">
                        <asp:TextBox ID="tbxRPW" runat="server" TextMode="Password"></asp:TextBox>
                    </td>
                    <td>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="tbxNPW" ControlToValidate="tbxRPW" Display="Dynamic" ErrorMessage="These Password don't match" ForeColor="Red"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style4">&nbsp;</td>
                    <td class="auto-style6">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style4">&nbsp;</td>
                    <td class="auto-style6">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style4">&nbsp;</td>
                    <td class="auto-style6">
                        <asp:Button ID="btnSave" runat="server" CssClass="btnCSS" Text="Save Change" Width="130px" OnClick="btnSave_Click" />
                        &nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button3" runat="server" CssClass="btnCSS" Text="Cancel" OnClick="Button3_Click" CausesValidation="False" />
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style3">&nbsp;</td>
                    <td class="auto-style4">&nbsp;</td>
                    <td class="auto-style6">&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </table>
            <br />
            <br />
            <br />
            <br />
            <br />
            &nbsp;&nbsp;<br />
        </asp:Panel>
    </asp:Content>

